<?php
// +----------------------------------------------------------------------
// | OneThink [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.onethink.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: 麦当苗儿 <zuojiazi@vip.qq.com> <http://www.zjzit.cn>
// +----------------------------------------------------------------------

/**
 * 系统配文件
 * 所有系统级别的配置
 */
return array(
    /* 模块相关配置 */
    'AUTOLOAD_NAMESPACE' => array('Addons' => ONETHINK_ADDON_PATH), //扩展模块列表
    'DEFAULT_MODULE'     => 'Home',
    'MODULE_DENY_LIST'   => array('Common','User','Admin','Install'),
    //'MODULE_ALLOW_LIST'  => array('Home','Admin'),

    /* 系统数据加密设置 */
    'DATA_AUTH_KEY' => 'xIi"ch#}5jMes+[~p!PzVrG4-w)=.<1n3t(A8|C7', //默认数据加密KEY

    /* 用户相关设置 */
    'USER_MAX_CACHE'     => 1000, //最大缓存用户数
    'USER_ADMINISTRATOR' => 1, //管理员用户ID

    /* URL配置 */
    'URL_CASE_INSENSITIVE' => true, //默认false 表示URL区分大小写 true则表示不区分大小写
    'URL_MODEL'            => 3, //URL模式
    'VAR_URL_PARAMS'       => '', // PATHINFO URL参数变量
    'URL_PATHINFO_DEPR'    => '/', //PATHINFO URL分割符

    /* 全局过滤配置 */
    'DEFAULT_FILTER' => '', //全局过滤函数

    /* 数据库配置 */
    'DB_TYPE'   => 'mysql', // 数据库类型
    'DB_HOST'   => '127.0.0.1', // 服务器地址
    'DB_NAME'   => 'school', // 数据库名
    'DB_USER'   => 'root', // 用户名
    'DB_PWD'    => '',  // 密码
    'DB_PORT'   => '3306', // 端口
    'DB_PREFIX' => 'school_', // 数据库表前缀

    /* 文档模型配置 (文档模型核心配置，请勿更改) */
    'DOCUMENT_MODEL_TYPE' => array(2 => '主题', 1 => '目录', 3 => '段落'),
    
    'WEEKS' => array(
    	1 => '星期一', 
    	2 => '星期二', 
    	3 => '星期三', 
    	4 => '星期四', 
    	5 => '星期五', 
    	6 => '星期六', 
    	7 => '星期日'
	),
	
	'KEBIAO_TIME_LIST' => array(
		1 => '6 : 00',
		2 => '6 : 15',
		3 => '6 : 30',
		4 => '6 : 45',
		5 => '7 : 00',
		6 => '7 : 15',
		7 => '7 : 30',
		8 => '7 : 45',
		9 => '8 : 00',
		10 => '8 : 15',
		11 => '8 : 30',
		12 => '8 : 45',
		13 => '9 : 00',
		14 => '9 : 15',
		15 => '9 : 30',
		16 => '9 : 45',
		17 => '10 : 00',
		18 => '10 : 15',
		19 => '10 : 30',
		20 => '10 : 45',
		21 => '11 : 00',
		22 => '11 : 15',
		23 => '11 : 30',
		24 => '11 : 45',
		25 => '12 : 00',
		26 => '12 : 15',
		27 => '12 : 30',
		28 => '12 : 45',
		29 => '13 : 00',
		30 => '13 : 15',
		31 => '13 : 30',
		32 => '13 : 45',
		33 => '14 : 00',
		34 => '14 : 15',
		35 => '14 : 30',
		36 => '14 : 45',
		37 => '15 : 00',
		38 => '15 : 15',
		39 => '15 : 30',
		40 => '15 : 45',
		41 => '16 : 00',
		42 => '16 : 15',
		43 => '16 : 30',
		44 => '16 : 45',
		45 => '17 : 00',
		46 => '17 : 15',
		47 => '17 : 30',
		48 => '17 : 45',
		49 => '18 : 00',
		50 => '18 : 15',
		51 => '18 : 30',
		52 => '18 : 45',
		53 => '19 : 00',
		54 => '19 : 15',
		55 => '19 : 30',
		56 => '19 : 45',
		57 => '20 : 00',
		58 => '20 : 15',
		59 => '20 : 30',
		60 => '20 : 45',
	),
);
